<template>
  <div class="chat-input">
    <el-input
      v-model="textarea"
      :autosize="{ minRows: 2, maxRows: 4 }"
      type="textarea"
      placeholder="Please input"
    >
    </el-input>
  </div>
</template>

<script lang="ts" setup>
import { ref } from "vue";
const textarea = ref("");
</script>

<style lang="less" scoped>
.chat-input {
  max-height: 10vw;
  position: absolute;
  bottom: 15vw;
  left: 0;
  right: 0;
}
</style>
